package com.zzy.dao;

import com.zzy.model.BlobEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface BlobDao {
    public List<BlobEntity> findAll();
    public List<Map<String,Object>> findAllMap();
    public Integer save(@Param("model") BlobEntity model);

    //使用 byte 数组测试
    public Integer saveByte(@Param("model") BlobEntity model);
}
